package com.shiyingzi.product.service;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.shiyingzi.common.PageableData;
import com.shiyingzi.common.ResponseData;
import com.shiyingzi.product.model.AppABasicInformation;
import com.shiyingzi.product.model.AppBOccupational;
import com.shiyingzi.product.model.AppCIncomeAndLiability;
import com.shiyingzi.product.model.AppDContactInformation;
import com.shiyingzi.product.model.AppEBorrowerInformation;
import com.shiyingzi.product.model.AppFHouseProperty;
import com.shiyingzi.product.model.AppGWorkInformation;
import com.shiyingzi.product.model.AppHPolicyInformation;
import com.shiyingzi.product.model.AppIImpPath;
import com.shiyingzi.security.model.User;

public interface AppABasicInformationService {
	public static String BEAN_ID = "product.AppABasicInformationService";
	
	/**新增一个产品*/
	public ResponseData addAppABasicInformation(AppABasicInformation code);
	
	/**获取产品列表*/
	public PageableData<AppABasicInformation> queryAppABasicInformationList(int page, int limit, String userName);
	
	/**根据ID获取用户*/
	public AppABasicInformation getProductById(Integer id);
	
	/**新增一个产品*/
	public ResponseData addProduct(AppABasicInformation code,AppBOccupational code2
			,AppCIncomeAndLiability code3,ArrayList<AppDContactInformation> code4
			,AppEBorrowerInformation code5,AppFHouseProperty code6
			,AppGWorkInformation code7 ,AppHPolicyInformation code8
			,ArrayList<AppIImpPath> filea,ArrayList<AppIImpPath> fileb,ArrayList<AppIImpPath> filec
			,ArrayList<AppIImpPath> filed,ArrayList<AppIImpPath> filee,ArrayList<AppIImpPath> filef
			,ArrayList<AppIImpPath> fileg,ArrayList<AppIImpPath> fileh,ArrayList<AppIImpPath> filei);
	/**修改一个产品*/
	public ResponseData upProduct(AppABasicInformation code,AppBOccupational code2
			,AppCIncomeAndLiability code3,ArrayList<AppDContactInformation> code4
			,AppEBorrowerInformation code5,AppFHouseProperty code6
			,AppGWorkInformation code7 ,AppHPolicyInformation code8);
	
	/**修改用户*/
	public ResponseData upAppABasicInformation(AppABasicInformation code);
}
